package cn.nange.cmfz.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
@Data
public class Article implements Serializable {
    private Integer id;
    private String title;
    private String img;
    private String content;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8" ,pattern = "yyyy年MM月dd日")
    private Date date;
    private Integer status;
    private Integer guruId;
    private Guru guru;
}
